package com.intellagric.interfaces.sys_user;


import com.intellagric.common.bean.ResponseMessage;
import com.intellagric.pojo.SysUserRoleKey;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/13
 * @DESC： 用户角色id信息服务接口
 */
public interface UserRoleService {

    //增加用户和角色信息
    ResponseMessage addUserRole(SysUserRoleKey sysUserRoleKey);

    //删除用户
    ResponseMessage deleteUserRoleByUserId(String userId);

    //修改用户信息和角色信息
    ResponseMessage editUserRole(SysUserRoleKey sysUserRoleKey);

    //查询用户
    com.intellagric.pojo.SysUserRoleKey getUserRoleById(String userId);

}
